package com.bins.dentist.clinic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bins.dentist.clinic.model.dto.RolePermDto;
import com.bins.dentist.clinic.entity.RolePermissionEntity;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bins
 * @since 2023-02-20 20:53:31
 */
public interface RolePermissionService extends IService<RolePermissionEntity> {

    List<Long> getIdsByRoleId(Long id);

    int deleteByRoleId(Long roleId);

    List<RolePermissionEntity> buildRolePermList(RolePermDto dto);
}
